import Vue from 'vue'
import App from './App.vue'
import axios from 'axios'
import '@/mobile/flexible' // 适配
import '@/styles/reset.css' // 初始化样式
import router from '@/router'

Vue.prototype.$axios = axios
import { Tabbar, TabbarItem, NavBar, Image as VanImage, Col, Row, Cell, CellGroup, Icon, Search } from 'vant'

Vue.use(Search)
Vue.use(Icon)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Col)
Vue.use(Row)
Vue.use(VanImage)
Vue.use(NavBar)
Vue.use(Tabbar)
Vue.use(TabbarItem)

Vue.config.productionTip = false

new Vue({
    router,
    render: (h) => h(App),
}).$mount('#app')
